package top.yxqz.plus.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 余小小
 * @date: 2023/5/30
 * @description：实体类（EMP)
 * @TableName("t_emp") :映射表
 * @TableId: 表示该字段是一个主键
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_emp")
public class Emp {
    @TableId
    private Integer empId;
    private String empName;
    private Integer age;
    private String gender;
}
